#include "ClientInitChannel.h"
#include "EventLoop.h"
#include "PlatLogger.h"
namespace xncc {
namespace foundation {
    ClientInitChannel::ClientInitChannel(EventLoop* loop, int sock_fd) : Channel(loop, sock_fd)
    {
        TRACE_INFO << "create DatagramSocketChannel bind loop id:" << loop->id() << " fd:" << sock_fd
                   << " loop type:" << types::IO_MULTI_MODE::toString(loop->mode());
    }

    void ClientInitChannel::handleClose(const std::string& reason)
    {
        // not need handle
        // 只是用来判断连接是否成功的sockfd
    }

    void ClientInitChannel::handleError(const std::string& reason)
    {
        // not need handle
        // 只是用来判断连接是否成功的sockfd
    }
}  // namespace foundation
}  // namespace xncc
